﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="ListFriends.ascx.cs" Inherits="SonCa.SocialNetwork.Web.Personals.ASCX.ListFriends" %>

<div id="personalFriend_<%#Eval("AccountID") %>" style="width:100%;float:left">
    <div style="width:230px">
        <div style="float:left">
            <a href="../Personals/PersonalPage.aspx?otherAccountID=<%#Eval("AccountID") %>"><asp:Image ImageUrl="" ID="imgAvatar_PersonalFriends" runat="server" Width="65px" Height="65px" /></a><br />
        </div>
        <div style="float:right">
            <a href="../Personals/PersonalPage.aspx?otherAccountID=<%#Eval("AccountID") %>">
                <strong><asp:Label ID="lblUserName_PersonalFriends" runat="server" Width="150px" ForeColor="#3074FF">user name</asp:Label></strong>
            </a><br />
            Birth : <asp:Label ID="lblBirth_PersonalFriends" runat="server">birthday</asp:Label><br />
            <div>
                <asp:Image ImageUrl="" ID="imgLevel_PersonalFriends" runat="server" />
                <strong><asp:Label ID="lblScore_PersonalFriends" runat="server"></asp:Label></strong>
            </div>
        </div>  
        <div style="clear:both"></div>
    </div>
    <div class="dropdown" style="float:right;margin-top:-65px">
        <img src="../img/down.jpg" id="menuAction_PersonalFriend_<%#Eval("AccountID") %>" data-toggle="dropdown" class="dropdown-toggle" style="cursor:pointer" onclick="MenuAction_PersonalFriend(<%#Eval("AccountID") %>)" />
        <ul class="dropdown-menu" id="dropdown_personalfriend_<%#Eval("AccountID") %>" style="left:-140px">
            <li style="cursor:pointer">Action</li>
            <li style="cursor:pointer">Orther Action</li>
            <li style="cursor:pointer" onclick="Unfriend(<%#Eval("AccountID") %>)">Unfriend</li>
            <li class="divider"></li>
        </ul>
    </div>
    <div style="clear:both"></div>
    <hr style="border: 1px dotted" />
</div>